BOT_NAME = "scrapy_092_58tc"

SPIDER_MODULES = ["scrapy_092_58tc.spiders"]
NEWSPIDER_MODULE = "scrapy_092_58tc.spiders"

ITEM_PIPELINES = {
    "scrapy_092_58tc.pipelines.Scrapy09258TcPipeline": 300,
    "scrapy_092_58tc.pipelines.Scrapy09258DownImgPipeline": 301,  # 值越小越优先执行
    "scrapy_092_58tc.pipelines.MysqlPipeline": 302  # 值越小越优先执行
}

TWISTED_REACTOR = "twisted.internet.asyncioreactor.AsyncioSelectorReactor"
FEED_EXPORT_ENCODING = "utf-8"

# mysql数据库配置
DB_HOST = 'localhost'
DB_PORT = 3306
DB_USER = 'root'
DB_PASSWROD = 'admin'
DB_NAME = 'ldp_data'
DB_CHARSET = 'utf8'

# 指定日志的级别
# LOG_LEVEL='WARNING'
LOG_FILE = 'logdemo.log'
